
{extends file="../acp.html"}

{block name="title"}{$head_title}{/block}
{block name="css"}
<link rel="stylesheet" type="text/css" href="/Public/Css/acp/AcoContract/contract_list.css?version={$version}"/>
<style>
    td .show-station{
        padding-left: 0;
    }
</style>
{/block}
{block name="content"}
<div class="t-detail-goods">
    <div class="t-detail-goods-tit mag">基本信息：</div>
    <div class="t-detail-goods-con t-buser">
    	<table class="wxtables tables-form">  
            <colgroup>  
                <col width="10%">  
                <col width="90%">   
            </colgroup>  
            <tbody>  

                <tr>
                    <td class="tables-form-title">企业名称：</td>
					<td>{if $info.company_name}{$info.company_name}{else}--{/if}</td>
                </tr>
                <tr>
                    <td class="tables-form-title">所属行业：</td>
                    <td>{if $field}{$field}{else}--{/if}</td>
                </tr>
                <tr>
                    <td class="tables-form-title">联系人：</td>
                    <td>{if $info.linkman}{$info.linkman}{else}--{/if}</td>
                </tr>
                <tr>
                    <td class="tables-form-title">联系方式：</td>  
					<td>{if $info.link_way}{$info.link_way}{else}--{/if}</td>
                </tr>
            </tbody>  
        </table>   
    </div>

	<div class="t-detail-goods-tit mag">房源信息：</div>
    <div class="t-detail-goods-con t-buser">
    	<table class="wxtables tables-form">
            <colgroup>
                <col width="10%">
                <col width="90%">
            </colgroup>
            <tbody>
                {if $info.contract_type == 1}
                    {foreach from=$house_info item=v key=k}
                    <tr>
                        <td class="tables-form-title" colspan="2" style="text-align: center;">房源{$k+1}</td>
                    </tr>
                    <tr>
                        <td class="tables-form-title">孵化器名称：</td>
                        <td>{$v.incubator_name}</td>
                    </tr>
                    <tr>
                        <td class="tables-form-title">楼层：</td>
                        <td>{$v.storey_name}</td>
                    </tr>
                    <tr>
                        <td class="tables-form-title">房间：</td>
                        <td>{$v.station_type_name}</td>
                    </tr>
                    {/foreach}
                {else}
                    {foreach from=$house_info item=v key=k}
                    <tr>
                        <td class="tables-form-title" colspan="2" style="text-align: center;">房源{$k+1}</td>
                    </tr>
                    <tr>
    					<td class="tables-form-title">孵化器名称：</td>
    					<td>{$v.incubator_name}</td>
                    </tr>
                    <tr>
                        <td class="tables-form-title">楼层：</td>
                        <td>{$v.storey_name}</td>
                    </tr>
                    <tr>
                        <td class="tables-form-title">工位类型：</td>
                        <td>{$v.class_name}</td>
                    </tr>
                    <tr>
                        <td class="tables-form-title">工位号：</td>
                        <td>
                            <ul class="show-station clearfix">
                                {foreach from=$v.station_list item=station}
                                <li class="fl">{$station.station_num}</li>
                                {/foreach}
                            </ul>
                        </td>
                    </tr>
                    {/foreach}
                {/if}
            </tbody>
        </table>
    </div>
    
    <div class="t-detail-goods-tit mag">租金信息：</div>
    <div class="t-detail-goods-con t-buser">
        <table class="wxtables tables-form">
            <colgroup>
                <col width="10%">
                <col width="90%">
            </colgroup>
            <tbody>
            <tr>
                <td class="tables-form-title">租赁时长：</td>
                <td>{if $info.lease_time}{$info.lease_time}{if $info.contract_type == 1}年{else}天{/if}{else}--{/if}</td>
            </tr>
            <tr>
                <td class="tables-form-title">租赁总金额：</td>
                <td>{if $info.lease_total_money}{$info.lease_total_money}{else}--{/if}</td>
            </tr>
            <tr>
                <td class="tables-form-title">技术咨询服务费：</td>
                <td>{if $info.consult_total_money}{$info.consult_total_money}{else}--{/if}</td>
            </tr>
            <tr>
                <td class="tables-form-title">押金：</td>
                <td>{if $info.deposit}{$info.deposit}{else}--{/if}</td>
            </tr>
            <tr>
                <td class="tables-form-title">开始时间：</td>
                <td>{if $info.start_time}{date('Y-m-d',$info.start_time)}{else}--{/if}</td>
            </tr>
            <tr>
                <td class="tables-form-title">到期时间：</td>
                <td>{if $info.end_time}{date('Y-m-d',$info.end_time)}{else}--{/if}</td>
            </tr>
            </tbody>
        </table>
    </div>
    {if $info.contract_type == 1}
    <div class="t-detail-goods-tit mag">每年租赁金额：</div>
    <div class="t-detail-goods-con t-buser">
        <table class="wxtables tables-form">
            <colgroup>
                <col width="10%">
                <col width="90%">
            </colgroup>
            <tbody>
            {foreach from=$lease_info item=v key=k}
                <tr>
                    <td class="tables-form-title" colspan="2" style="text-align: center;">第{$k}年</td>
                </tr>
                <tr>
                    <td class="tables-form-title">租金：</td>
                    <td>{$v.lease_money}</td>
                </tr>
                <tr>
                    <td class="tables-form-title">咨询服务费：</td>
                    <td>{$v.consult_money}</td>
                </tr>
            {/foreach}
            </tbody>
        </table>
    </div>
    {/if}
	<div class="t-detail-goods-tit mag">附件信息：</div>
    <div class="t-detail-goods-con t-buser">
    	<table class="wxtables tables-form">
            <colgroup>
                <col width="10%">
                <col width="90%">
            </colgroup>
            <tbody>
            <tr>
                <td class="tables-form-title">附件下载：</td>
                <td>
                    {if $files}
                    {foreach from=$files key=k item=v}
                    <a href="{$v}" style="color:blue;text-decoration: underline;">>>>附件{$k+1}<<<</a>   
                    {/foreach}
                    {/if}
                </td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
{/block} 

{block name="js"}
{literal}
<style>
#jpops .fi-name{width:100px;}
#jpops .form-controls{margin-left:100px;}
</style>
{/literal} 
{/block} 

{block name="css"}
<link rel="stylesheet" href="/Public/Css/acp/AcpOrder/order_detail.css" type="text/css" />
{/block} 
